package com.ktgj.flight.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ktgj.common.core.annotation.Excel;
import com.ktgj.common.core.web.domain.BaseEntity;

/**
 * 会员邮寄订单明细对象 flight_deliver_postorder
 * 
 * @author ruoyi
 * @date 2021-10-26
 */
public class FlightDeliverPostorder extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 自增主键 */
    private Long deliverPostorderId;

    /** 添加时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "添加时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date addtime;

    /** ORDERID */
    @Excel(name = "ORDERID")
    private Long orderId;

    /** POSTID */
    @Excel(name = "POSTID")
    private String customerAddress;

    public void setDeliverPostorderId(Long deliverPostorderId) 
    {
        this.deliverPostorderId = deliverPostorderId;
    }

    public Long getDeliverPostorderId() 
    {
        return deliverPostorderId;
    }
    public void setAddtime(Date addtime) 
    {
        this.addtime = addtime;
    }

    public Date getAddtime() 
    {
        return addtime;
    }
    public void setOrderId(Long orderId) 
    {
        this.orderId = orderId;
    }

    public Long getOrderId() 
    {
        return orderId;
    }

    public String getCustomerAddress()
    {
        return customerAddress;
    }

    public void setCustomerAddress(String customerAddress)
    {
        this.customerAddress = customerAddress;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("deliverPostorderId", getDeliverPostorderId())
            .append("addtime", getAddtime())
            .append("orderId", getOrderId())
            .append("customerAddress", getCustomerAddress())
            .toString();
    }
}
